class Blog < ActiveRecord::Base
  has_many :tags, :class_name => 'Tags'
  has_many :comments, :class_name => 'Comment'
  attr_accessible :user_base_info_id, :title, :content, :status, :publish_status, :uid, :tags_id

  self.table_name = 'blog'
end
